<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib uri="/WEB-INF/html.tld" prefix="html" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
 
<html:table attributes="class='inputTable' border='0' width='100%'">
 			<tr>
				<td colspan="4" class="subSectionBottomBorder">										
					<h4><spring:message text="label.add.assets">Assets for Finance</spring:message>&nbsp;</h4>
				</td>
			</tr>
			<tr>
				<html:td><label class="alpha-numeric required"><spring:message code='label.asset.type'/></label></html:td>
				<html:td><label class="alpha-numeric required"><spring:message code='label.asset'/></label></html:td>
				<html:td><label class="alpha-numeric required"><spring:message code='label.manufacturer'/></label></html:td>
				<html:td><label class="alpha-numeric required"><spring:message code='label.name'/></label></html:td>

				
			</tr>
			<tr>
				
				<html:td>
					<form:select path="asset.assetCode" name="asset.assetCode" class="alpha-numeric required" items="${lovBean.list('ASSET.TYPE')}" />
						
				</html:td>
				<html:td><form:input path="asset.assetModel" name="assetModel" class="alpha-numeric required"></form:input></html:td>
				<html:td><form:input path="asset.manufacturer" name="manufacturer" class="alpha-numeric required"></form:input></html:td>
				<html:td><form:input path="asset.name" name="name" class="alpha-numeric required"></form:input></html:td>

			</tr>
			
			<tr>
				<html:td><label class="numeric required"><spring:message code='label.year'/></label></html:td>
				<html:td><label class="numeric required"><spring:message code='label.price'/></label></html:td>
				<html:td><label class="numeric optional"><spring:message code='label.tax'/></label></html:td>
				<html:td><label class="alpha-numeric optional"><spring:message code='label.promotion.code'/></label></html:td>

				
			</tr>
			<tr>
				<html:td><form:input path="asset.assetYear" name="assetYear" class="numeric required"></form:input></html:td>
				<html:td><form:input path="asset.assetPrice" name="assetPrice" class="numeric required"></form:input></html:td>
				<html:td><form:input path="asset.tax" name="tax" class="numeric optional"></form:input></html:td>
				<html:td><form:input path="asset.promotionCode" name="promotionCode" class="alpha-numeric optional"></form:input></html:td>

				
			</tr>
			
			
			<tr>
				<html:td>&nbsp;</html:td>
				<html:td>&nbsp;</html:td>
				<html:td>&nbsp;</html:td>
				<html:td><button type="button" onclick="javascript:saveApplicationAsset();">Save</button></html:td>

			</tr>
	</html:table>
	